const attractionService = require('../services/attractionService')

const attractionContraoller = {
    attractionFind : async(req,res,next)=>{
        var data = await attractionService.attractionfind()
        res.send(data)
    },

    attractionUpdata : async(req,res,next)=>{
        await attractionService.attractionupdata(req.body,req.query)
        console.log(req.body,req.query)
        res.send({ok:1})
    },
}

module.exports = attractionContraoller